package com.example.springboot.domain;

import lombok.Data;

import java.util.List;
@Data
public class RoleResourceVo {
    private Integer roleId;

    private List<Integer> resourceIdList;

    public RoleResourceVo(Integer roleId, List<Integer> resourceIdList) {
        this.roleId=roleId;
        this.resourceIdList=resourceIdList;
    }


    @Override
    public String toString() {
        return "ResourceMenuVo{" +
                "roleId=" + roleId +
                ", resourceIdList=" + resourceIdList +
                '}';
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public List<Integer> getResourceIdList() {
        return resourceIdList;
    }

    public void setResourceIdList(List<Integer> menuIdList) {
        this.resourceIdList = resourceIdList;
    }
}
